package com.huawei.designpattern.compositereuse;

/**
 * @Desc
 * @Author 阿里P10大神退退
 * @date 2020/4/6 18:23
 */
public class ProductDao {

    private DBConnection dbConnection;

    public void setDbConnection(DBConnection dbConnection) {
        this.dbConnection = dbConnection;
    }

    public void getConnection() {
        dbConnection.dbConnection();
        System.out.println();
    }
}
